package cn.itsource.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageList<T> {

    //总条数
    private Long total = 0L;

    //当页数据   默认值null  给空集合:[]
    private List<T> list = new ArrayList<>();

}
